//---------------------------------------------------------------------
// <copyright file="CsdlEntitySetReferenceExpression.cs" company="Microsoft">
//      Copyright (c) Microsoft Corporation.  All rights reserved.
// </copyright>
//---------------------------------------------------------------------

namespace Microsoft.Data.Edm.Csdl.Internal.Parsing.Ast
{
    internal class CsdlEntitySetReferenceExpression : CsdlExpressionBase
    {
        private readonly string entitySetPath;

        public CsdlEntitySetReferenceExpression(string entitySetPath, CsdlLocation location)
            : base(location)
        {
            this.entitySetPath = entitySetPath;
        }

        public override Expressions.EdmExpressionKind ExpressionKind
        {
            get { return Expressions.EdmExpressionKind.EntitySetReference; }
        }

        public string EntitySetPath
        {
            get { return this.entitySetPath; }
        }
    }
}
